STEP 10: Wait a second! You bought milk yesterday. Let's remove milk from basics_list.

  • Go to and drag out Remove. Drop it at the bottom of your program.
  • Change the name in front of .remove() to basics.
  • Change the argument in .remove() to the string "milk".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)